]> dgit.raspbian.org Git - gnome-shell.git/commit
rfkill: Consider HasAirplaneMode
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 18 Jul 2022 18:47:47 +0000 (20:47 +0200)
committerMarge Bot <marge-bot@gnome.org>
Tue, 19 Jul 2022 13:27:39 +0000 (13:27 +0000)
commite062e96ae6c09bc4d981a491af8a986d5c451fa5
tree73e7489cf4a7ab84cd44010213bd490823dc6b28
parent98cbc31e860b38aeeff1e2f4544c94314d4223c8
rfkill: Consider HasAirplaneMode

`ShouldShowAirplaneMode` only considers whether airplane mode
should be shown for the form factor, not whether there are
any actual kill switches available.

That's tracked in a separate property, `HasAirplaneMode`.

Take that into account for our `:show-airplane-mode` property,
so that it reflects when airplane mode should and *can* be shown.

Right now we only show airplane mode when it is enabled (and
therefore available), but this will change in the future.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2385>
data/dbus-interfaces/org.gnome.SettingsDaemon.Rfkill.xml
js/ui/status/rfkill.js